module.exports = {
    pluginOptions: {
        electronBuilder: {
            builderOptions: {
                appId: "cn.psvmc.account",
                productName: "Collection-Account",
                icon: "./public/app.ico",
                extraResources: {
                    from: "./src/store",
                    to: "../src/store"
                },
                directories: {
                    "output": "build" // 输出文件夹
                },
                asar: false,
                mac: {
                    icon: "./public/app.ico",
                    target: ["zip", "dmg"]
                },
                win: {
                    icon: "./public/256.ico",
                    target: ["zip", "nsis"]
                },
                nsis: {
                    oneClick: false,
                    allowElevation: true,
                    allowToChangeInstallationDirectory: true,
                    installerIcon: "./public/256.ico",
                    uninstallerIcon: "./public/256.ico",
                    installerHeaderIcon: "./public/256.ico",
                    createDesktopShortcut: true,
                    createStartMenuShortcut: true
                    // license: "./LICENSE.txt"
                }
            }
        }
    }
};